package com.example.bidserver.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class BidVO implements Serializable {
    @ApiModelProperty(value="主键")
    private String id;
    @ApiModelProperty(value="用户id", example = "1")
    private String userId;
    @ApiModelProperty(value="创建时间")
    private Date time;
    @ApiModelProperty(value="出价")
    private double price;
    @ApiModelProperty(value="出价状态 1未处理2同意3不同意")
    private int status;
    @ApiModelProperty(value="出价用户id", example = "1")
    private String bidId;
    @ApiModelProperty(value="出价用户图片", example = "url")
    private String bidPhoto;
    @ApiModelProperty(value="出价用户名", example = "刘宇豪")
    private String bidName;
    @ApiModelProperty(value="商品id", example = "1")
    private String goodsId;
    @ApiModelProperty(value="商品图片", example = "url")
    private String goodsPhoto;
    @ApiModelProperty(value="商品标题", example = "1")
    private String goodsTitle;
    @ApiModelProperty(value="价格")
    private double goodsPrice;

}
